﻿using Microsoft.Data.Edm;
using System;
namespace System.Data.Services.Providers
{
    /// <summary>
    /// Extends <see cref="T:Microsoft.Data.Edm.IEdmProperty" /> to expose the <see cref="P:System.Data.Services.Providers.IResourcePropertyBasedEdmProperty.ResourceProperty" /> that the property was based on.
    /// </summary>
    internal interface IResourcePropertyBasedEdmProperty : IEdmProperty, IEdmNamedElement, IEdmVocabularyAnnotatable, IEdmElement
    {
        /// <summary>
        /// The <see cref="P:System.Data.Services.Providers.IResourcePropertyBasedEdmProperty.ResourceProperty" /> this edm property was created from.
        /// </summary>
        ResourceProperty ResourceProperty
        {
            get;
        }
    }
}